Chapter Nineteen Visual Generalization in Programming by Example

نویسندگان

  • Luke Zettlemoyer
  • Henry Lieberman
  • Richard Potter
چکیده

In programming by example (PBE; also sometimes called programming by demonstration) systems, the system records actions performed by a user in the interface and produces a generalized program that can be used later in analogous examples. A key issue is how to describe the actions and objects selected by the user, which determines what kind of generalizations will be possible. When the user selects a graphical object on the screen, most PBE systems describe the object using properties of the underlying application data. For example, if the user selects a link on a Web page, the PBE system might represent the selection based on the link’s HTML properties. In this chapter, we explore a different, and radical, approach—using visual properties of the interaction elements themselves, such as size, shape, color, and appearance of graphical objects—to describe user intentions. Only recently has the speed of image processing made feasible real-time analysis of screen images by a PBE system. We have not yet fully realized the goal of a complete PBE system using visual generalization, but we feel the approach is important enough to warrant presenting the idea. Visual information can supplement information available from other sources and opens up the possibility of new kinds of generalizations not possible from the application data alone. In addition, these generalizations can map more closely to the intentions of users, especially beginning users, who rely on the same visual information when making selections. Finally, visual generalization can sometimes remove one of the worst stumbling blocks preventing the use of PBE with commercial applications—that is, reliance on application program interfaces (APIs.). When necessary, PBE systems can work exclusively from the visual appearance of applications and do not need explicit cooperation from the API. 19.2 If You Can See It, You Should Be Able to Program It Every PBE system has what Halbert (1993) calls the “data description problem”: when users select an object on the screen, what do they mean by it? Depending on how you describe an object, it could result in very different effects the next time you run the procedure recorded and generalized by the system. During a demonstration to a PBE system, if you select an icon for a file foo.bar in a desktop file system, did you mean (1) just that specific file 372 y Command TNT Job Number: [002564] • Author: [Lieberman] • Page: 372 S

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

پیوند رؤیت فؤاد و بصر در معراج پیامبر(ص)

The issue of perceiving God in Islamic theology, philosophy and mysticism is very important. It seems that there is no concern regarding the consensus among the proponents and opponents of perceiving God by the visual sense, though mystics have made a lot of efforts to reconcile the visual perception and intuitive discernment. Of these efforts, a typical example can be found in the interpretati...

متن کامل

(To Appear in UIST '92) Declarative Programming of Graphical Interfaces by Visual Examples

Graphical user interfaces (GUI) provide intuitive and easy means for users to communicate with computers. However, construction of GUI software requires complex programming that is far from being intuitive. Because of the \semantic gap" between the textual application program and its graphical interface, the programmer himself must conceptually maintain the correspondence between the textual pr...

متن کامل

Attributed Context-Sensitive Graph Grammars

The paper introduces a concept of attributed context-sensitive graph grammars. The graph grammars are a graphical generalization of the textual grammars and can thus be used to specify the syntax of graphical programming or modeling languages. The attributed graph grammars extend the basic graph grammars with definitions of attributes and the associated attribute evaluation rules. By analogy to...

متن کامل

The location of taking the covenant in verses 172 and 173 of Chapter Aaraf from the perspective of Allameh Tabatabai and Ayatollah Javadi Amoli

Verses 172 and 173 of the Chapter Aaraf -known as the verses of the Covenant- are among the most complex verses of the Quran in terms of interpretation. One of the main issues in the interpretation of these verses is the whereabouts of the Covenant. In other words, where has this divine covenant, the contents of which are the divine lordship and the servitude of man, taken place? and where is t...

متن کامل

Concept-Oriented Design in Chasm: Conversational Domain Language Inspired 3D User Interface Design and Development

........................................................................................................ II ACKNOWLEDGMENTS ..................................................................................... III TABLE OF CONTENTS....................................................................................... V LIST OF TABLES ................................................................

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000